home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-01-10 | 1.9 KB | 68 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="7"
- "COUNT"="2"
- "UIPATH"="Internet\Eudora"
- "NAME"="Eudora Splash Screen"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable Splash"
- "TEXT 2"="Enable Splash"
- "DESCRIPTION 1"="This will remove the splash screen shown while Eudora Email is starting."
- "DESCRIPTION 2"=" "
- "VERSION"="2.00"
- "AUTHOR"="J. Scott Elblein / Patched by Xteq Systems"
- "COPYRIGHT"="All Rights Reserved. 2001"
- "CONTACTURL"="http://www.xenon-inc.com/"
- "COMMENT 1"="... Used with permission"
-
- 'Hey XTeq dudes ... how about adding a Bookmarks drop-down list so you can go directly to favorite keys? ;)
-
- sPath1="HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Eudora.exe"
- s=""
-
- sPath2="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\AppData"
-
-
- 'Called when the Plugin is started
- SUB Plugin_Initialize
- 'first check if this is maybe a "new" eduora instllation
- s=RegReadValue(sPath2)
- s=s & "\Qualcomm\Eudora\Eudora.ini"
-
- if FileExists(s) then
- 'okay, found ini!
- else
- if regpathexists(sPAth1) then
- s = RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Eudora.exe\Path")
- s = s & "\Eudora.ini"
-
- if IniReadValue(s,"Settings","NoSplashScreen")="1" then
- call SetUIElement(1,true)
- end if
- else
- Call Disable()
- end if
- end if
-
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- b = getuielement(1)
- if b = true then
- call iniwritevalue(s,"Settings","NoSplashScreen","1")
- 'MsgInformation("Eudora Splash Screen Disabled")
- else
- call iniwritevalue(s,"Settings","NoSplashScreen","0")
- 'MsgInformation("Eudora Splash Screen Enabled")
- end if
-
- END SUB
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-